<!DOCTYPE html>
<html>
<head>
	<!-- Required meta tags-->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<!-- Color theme for statusbar -->
	<meta name="theme-color" content="#2196f3">
	<title>Popover</title>
	<link href="https://cdn.bootcss.com/framework7/2.3.1/css/framework7.min.css" rel="stylesheet" />
</head>
<body>
<!-- App root element -->
<div id="app">
	<!-- Statusbar overlay -->
	<div class="statusbar"></div>
	<!-- Your main view, should have "view-main" class -->
	<div class="view view-main">
		<!-- Initial Page, "data-name" contains page name -->
		<div class="page">
			<div class="navbar">
				<div class="navbar-inner">
					<div class="left">
						<!-- Additional "popover-open" class to open popover on link click -->
						<!-- In data-popover attribute we specify CSS selector of popover we need to open -->
						<a class="link popover-open" href="#" data-popover=".popover-about">About</a>
					</div>
					<div class="title">Popover</div>
					<div class="right">
						<a class="link popover-open" href="#" data-popover=".popover-links">Links</a>
					</div>
				</div>
			</div>
			<div class="page-content">
				<div class="block">
					<p>
						<!-- In data-popover attribute we specify CSS selector of popover we need to open -->
						<a class="link popover-open" href="#" data-popover=".popover-about">Open About Popover</a>
					</p>
					<p>
						<!-- In data-popover attribute we specify CSS selector of popover we need to open -->
						<a class="link popover-open" href="#" data-popover=".popover-links">Open Links Popover</a>
					</p>
					<p>
						<a class="link dynamic-popover" href="#">Create Dynamic Popover</a>
					</p>
				</div>
			</div>
		</div>
		<!-- Popovers -->
		<div class="popover popover-about">
			<div class="popover-inner">
				<div class="block">
					<p>About</p>
					<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ac diam ac quam euismod porta vel a nunc. Quisque sodales scelerisque est, at porta justo cursus ac.</p>
				</div>
			</div>
		</div>
		<div class="popover popover-links">
			<div class="popover-inner">
				<div class="list">
					<ul>
						<li><a class="list-button item-link" href="#">Link 1</a></li>
						<li><a class="list-button item-link" href="#">Link 2</a></li>
						<li><a class="list-button item-link" href="#">Link 3</a></li>
						<li><a class="list-button item-link" href="#">Link 4</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="https://cdn.bootcss.com/framework7/2.3.1/js/framework7.min.js"></script>
<script type="text/javascript" src="js/popover.js"></script>
</body>
</html>